import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';

class HomePage extends StatefulWidget {
  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {

//  @override
//  Widget build(BuildContext context) {
//    return Scaffold(
//      body: Center(
//        child: Text('1'),
//      ),
//    );
//  }

  @override
  Widget build(BuildContext context) {
    Widget titleSection = new MaterialApp(
      routes: {
        "/": (_) => new WebviewScaffold(
          url: "https://www.07ge.com",
          appBar: new AppBar(
            title: new Text("07ge"),
          ),
        ),
      },
    );
    return titleSection;
  }
}